a {
  text-decoration: none;
  color: black;
}

.container {
  width: 1092px;
  margin: 0 auto;
}

* {
  margin: 0;
  padding: 0;
}

body {
  padding: 10px;
}

.tablist {
  float: left;
  width: calc(100% - 270px);
  margin: 12px 0px 0px 20px;
}

/**
 * 设置tab共同属性
 */
.tablab {
  position: relative;
  border: 2px solid black;
  z-index: 1;
  padding: 2px 4px;
  display: inline-block;
  width: 80px;
  line-height: 100%;
  text-align: center;
  cursor: pointer;
}

/**
 * 设置内容外部容器
 */
.tab-content {
  margin-top: -2px;
  border: 2px solid black;
  float: left;
  width: 100%;
  height: 236px;
  padding: 20px 15px 20px 25px
}

/**
 * 设置每个li的样式
 */
.tab-content ul li {
  height: 60px;
  width: 240px;
  border: 2px solid black;
  list-style: none;
  position: relative;
  padding: 10px 10px 20px 10px;
  margin: 0px 10px 10px 0px;
  float: left;
}


input[type=radio],
.tab-content {
  display: none;
}

input[type=radio]:checked+label {
  background: #fff;
  border-bottom: 2px solid transparent;
}

input[type=radio]:checked+label+div {
  display: block;
}

.bar {
  border: 2px solid black;
  height: 100px;
}

.imglog {
  width: 200px;
  height: 100%;
  float: left;
  margin-right: 20px;
}

.barlist li {
  float: left;
  list-style: none;
  margin-top: 78px;
}

.barlist li:hover ul {
  display: block;
}

.barlist li ul {
  position: absolute;
  z-index: 3;
  display: none;

}

.barlist li ul li {
  width: 170px;
  background-color: white;
  border: 1px solid black;
  border-bottom: none;
  clear: both;
  height: 20px;
  line-height: 20px;
  margin: 0px;
}

.barlist li ul:last-child {
  border-bottom: 1px solid black;
}

.lefthouse {
  width: 200px;
  height: 300px;
  border: 2px solid black;
  margin-top: 10px;
  float: left;
}

/**
       * 冒险者小屋
       */
.housetitle {
  background-color: black;
  color: white;
  padding: 10px 0;
  width: 100%;
  display: inline-block;
  text-align: center;
  border: 0;
  line-height: 100%;
}
.house-content{
  text-align: center;
  padding: 10px;
}
.house-content img{
  width: 80%;		 
}
/**
       * 冒险者小屋裏面的內容
       */
.content {
  width: 200px;
  height: 100px;
  border: 1px solid red;

}



.content-img {
  width: 60px;
  height: 60px;
  display: inline-block;
  float: left;
}

.content-img+div {
  float: left;
  width: 170px;
  padding-left: 10px;
}
.img-title {
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid black;
}
.img-price {
  display: inline-block;
  width: 100%;
  text-align: right;
}
.img-price+p {
  text-align: right;
}
button {
  background-color: transparent;
  border: 1px solid black;
  padding: 5px 10px;
  cursor: pointer;
}
.coust {
  text-decoration: line-through;
}
.discount-price {
  color: red;
}
/**
 * 隐藏所有提示框
 */
.prompt {
  position: absolute;
  width: 232px;
  height: 107px;
  background-color: black;
  opacity: 0.8;
  z-index: 14;
  left: -2px;
  top: -132px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 15px;
  display: none;
}
/**
 * 这里是写热门商品div提示框
 */
.tab-content .ul-commodity li:nth-child(1):hover div:nth-child(1) {
  display: block;
}
.tab-content .ul-commodity li:nth-child(2):hover div:nth-child(1) {
  display: block;
}
.tab-content .ul-commodity li:nth-child(3):hover div:nth-child(1) {
  display: block;
}
/**
 * 这里是写造型div提示框
 */
.tab-content .ul-modelling li:nth-child(1):hover div:nth-child(1) {
  display: block;
}
.tab-content .ul-modelling li:nth-child(2):hover div:nth-child(1) {
  display: block;
}
/**
 * 这里是写div提示框下的div元素
 */
.prompt div {
  color: white;
  border-bottom: 1px solid white;
  width: 100%;
  text-align: center
}
/**
   * 这里是写div提示框下的div同级p元素
   */
.prompt div+p {
  color: white;
  margin-top: 23px;
}